
export interface PurchasePagination{
     orderNo?:string
     orderStatus?:string
     settleStatus?:string
     storageId?:any
     pageNo:any
     pageSize:any
}
export interface PurchaseResponse  {
     code: string;
     msg: string;
     timestamp: any;
     data: PurchaseTable;
     ok: boolean;
};
export interface PurchaseTable {
     totalCount: any;
     list: Array<PurchaseInfo>;
};

export interface PurchaseInfo {
     orderId?: any;
     settleRemark?:any;
     orderNo?: string;
     refuseReason?:string;
     remark?: any;
     storageId?: any;
     storageName?: string;
     supplyId?: any;
     supplyName?: string;
     managerName?: string;
     managerPhone?: string;
     orderStatusText?: string;
     orderStatus?: string;
     inUserId?: any;
     inUserName?: any;
     inTime?: any;
     settleStatus?: string;
     settleStatusText?: string;
     drugCount?: any;
     totalQuantity?: any;
     totalAmount?: any;
};



/**add采购单 */

export interface PurchaseAddResponse  {
     code: string;
     msg: string;
     timestamp: any;
     data: PurchaseAdd;
     ok: boolean;
};
export interface PurchaseAdd {
     detailList: Array<DetailList>;
     remark?: any;
     storageId?: any;
     packUnitText?:any;
     supplyId?: any;
     orderId?: number;
     orderNo?: string;
     storageName?: string;
     supplyName?: string;
     managerName?: string;
     managerPhone?: string;
     inUserId?: number;
     inUserName?: string;
     inTime?: Date;
     orderStatus?: string;
     settleStatus?: string;
     drugKindCount?: number;
     totalQty?: number;
     totalAmount?: number;
};

export interface DetailList {
     drugId?: any;
     orderQty?: any;
     price?: any;
     batchNo?: string;
     batchDate?: string;
     packUnitText?:string;
     genericName?:string;
     guige?:any;
     drugCategory?: string;
     drugDosageUnit?:string
     drugName?: string;
     mfrId?: number;
     drugIngr?:any;
     mfrName?: string;
     expiryDate?: string;
     drugDosage?: number;
     dosageUnit?: string;
     minPackQty?: number;
     minPackUnit?: string;
     packUnit?: string;
     isSplit?: string;
     stockQty?: number;
     stockUnit?: string;
     minStockQty?: number;
     minStockUnit?: string;
     nearestExpiryDate?: Date;
};

//变动流水c
export interface OrderLog  {
   orderId?:any;
   orderType?:any;
   pageNo:number;
   pageSize:number;
};



export interface OrderLogResponse {
     code: string;
     msg: string;
     timestamp: number;
     data: OrderLogResponseData;
     ok: boolean;
};

export interface OrderLogResponseData {
     totalCount: number;
     list: Array<OrderLogResponseDataList>;
};

export interface OrderLogResponseDataList {
     logType: string;
     createUserId: number;
     createBy?: any;
     createTime: Date;
};

